<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>微环评</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="/css/cui.css">
    <link rel="stylesheet" href="/css/style.css">
</head>

<body>

<section id="main">
    <div class="soBox" style="padding: 0">
        <img src="/image/{{ $picture }}.jpg" style="width: 100%">
    </div>
    @if($picture == 'bazn')
        <div class="main-c">
            @foreach($articles as $article)
            <div class="main-c-list mar-b20 main-c-list-nobg"
                 style="margin-top:15px; border-bottom: 5px solid #97df9e; text-align: center;padding-top: 20px;padding-bottom: 0;">
                <a href="{{ $article->link }}">
                    <h1>{{ $article->title }}</h1>
                </a>
            </div>
            @endforeach
        </div>
    @else
    <div class="main-spot-list">
        <ul>
            @foreach($articles as $article)
            <li>
                <a href="{{ $article->link }}">{{ $article->title }}</a>
            </li>
            @endforeach
        </ul>
    </div>
    @endif
</section>

</body>
</html>